libxl: Make logging functions preserve errno
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 12 Apr 2010 16:38:17 +0000 (17:38 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 12 Apr 2010 16:38:17 +0000 (17:38 +0100)
commitc20f18fbe847416f89c6362aea8604b2b2e28aae
tree2104dc269cf15af523cda1115d34cfef0e47fa8a
parentc6ddf6e062989ec5b1c2b850b10f165ad2744a4e
libxl: Make logging functions preserve errno

This is needed by the following patches.  It makes it much more
convenient for libxl functions to return the errno value from the
failure, when they fail.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
tools/libxl/libxl_internal.c
tools/libxl/libxl_internal.h